package oocl.com.util;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class RegexUtil {
	public static boolean checkData(String regex, String content){
		Pattern pattern = Pattern.compile(regex,Pattern.CASE_INSENSITIVE);
	    Matcher matcher = pattern.matcher(content);
		return matcher.matches();
	}
}
